<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
ww
<c:if test="${not empty param.loginErr}">
Errore nella login:
<c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"></c:out>
</c:if>
<form action="<c:url value='/j_spring_security_check'/>" method="POST">
	User: <input type="text" name="j_username" /><br/>
	Password: <input type="password" name="j_password"/><br/>
	<input type="submit" name="Login" />
</form>
</body>
</html>